<?php
namespace ydsdk\libraries;
                           
require(YD_ROOT.'libraries/Smarty-3.1.19/libs/Smarty.class.php');						   
class smarty extends \Smarty{
    public function __construct($params = array()){
		parent::__construct();
        $this->cache_lifetime  = $params['cache_lifetime'];
        $this->caching         = $params['caching'];
        $this->use_sub_dirs    = $params['use_sub_dirs'];
        $this->left_delimiter  = $params['left_delimiter'];
        $this->right_delimiter = $params['right_delimiter'];
		
    }
}